package com.maycurobj;

import com.maycurobj.controller.maycur.MaycurOutVoucherController;
import com.maycurobj.service.impl.CrmSerivceImpl;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;


@SpringBootTest
class MaycurobjApplicationTestForCrm {

    @Autowired
    private CrmSerivceImpl crmSerivce;
    @Autowired
    private MaycurOutVoucherController maycur;

    @Test
    void contextLoads() {
    }

    @Test
    public void testForCrmService() {

        try {
            crmSerivce.getAnnualBudgetList("");

        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    @Test
    public void testForMaycurMeeting(){
        maycur.AnnualBudgetpushTest(null);
    }
}
